<?php
namespace aliexpress\top\request;
use api\components\aliexpress\top\RequestCheckUtil;

/**
 * TOP API: aliexpress.category.redefining.getchildrenpostcategorybyid request
 *
 * @author auto create
 * @since 1.0, 2021.05.10
 */
class AliexpressCategoryRedefiningGetchildrenpostcategorybyidRequest
{
	/**
	 * 发布类目ID
	 **/
	private $param0;

	private $apiParas = array();

	public function setParam0($param0)
	{
		$this->param0 = $param0;
		$this->apiParas["param0"] = $param0;
	}

	public function getParam0()
	{
		return $this->param0;
	}

	public function getApiMethodName()
	{
		return "aliexpress.category.redefining.getchildrenpostcategorybyid";
	}

	public function getApiParas()
	{
		return $this->apiParas;
	}

	public function check()
	{

		RequestCheckUtil::checkNotNull($this->param0,"param0");
	}

	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
